#!/usr/bin/env node

//11. fork 方法调用外部程序

const cp = require('child_process')；

const cat = cp.fork('./03-child.js');

//cat.stdout.pipe(process.stdout);多余

setTimeout(() => {
    console.log('5 seconds passed. father Game Over!');

}, 5000);

